package org.yzh.web.service;

import org.yzh.protocol.t808.T0100;
import org.yzh.protocol.t808.T0102;
import org.yzh.web.model.entity.DeviceDO;
import org.yzh.web.model.vo.DeviceInfo;
import org.yzh.web.model.vo.DeviceQuery;
import org.yzh.web.model.vo.DeviceStatusCount;

import java.util.List;
import java.util.Optional;

public interface DeviceService {

    DeviceInfo register(T0100 request);

    DeviceInfo authentication(T0102 request);

    List<DeviceDO> find(DeviceQuery query);

    Optional<DeviceDO> findUnique(String deviceId, String plateNo);

    DeviceStatusCount findDeviceStatusCount();


}